Chapter 4 initial commit

Progress through Chapter 4. About 50% complete.