Exercise 35: Obtaining user input and using if and while statements to determine logic to play the game.