Typing game based on code in Head First C# Chapter 4