exercises 1-4 for chapter 16
Merge pull request #106 from SandyThomson/ram_chapter16

exercises 1-4 for chapter 16