Added proper return values to the valadateGuess method