code all the way to chapter 7 - added comments section
all the code through chapter 9