evaluateGuess function working