Ajd chapter10

Chapter 10
Nice touch, incorporating the debug switch into the game