Chapter 9

Chapter files applied from book code again.