Added loop to allow repeated guesses.