6.189 Homework 1 Exercise 1.5 User input