added limiting to 3 guesses functionality