Implemented GuessedNumber according to specs