Added method to check previous guesses