Guesses a user-input number in 10 tries or less