Merge pull request #12 from jdeisenberg/master

Changes for chapters 9-13.
ch04 minor
ch07 phase 1
ch07 phase 2
ch07 renames
cleaning up 8
cleaning up 8
cleaning up 8
fixed removal of pretty function
Fix problem with pattern match to record.