Number guessing game from book.