Adds Chapter 5 code for number guessing game