Initial Chapter 6.  Added runtime error handling.
Finished Chapter 6