My attempt at chapter 9
Merge pull request #54 from SandyThomson/chapter_9_rpi

My attempt at chapter 9