Updates guessing game to match requirements

The current code for the guessing game does not limit the number of
guesses to 5, it just runs forever, unlike what is stated in the
requirements.
No problem.