working version of Chapter 2 - Guess My Number