https://devhubby.com/thread/how-to-get-input-to-list-from-user-in-scala