Update code for use with Homework 9
Add pset 9 stuff.
Add some partial work on Exercise 5.1.1.8