Learning how to take in user input