Ex.3 getting input from user
Exercise 3 complete