Fixed the order of checks so that the "Congrats" message will display when user guesses the correct number on the 3rd try