guessing_game: here is the refactored version