chapter 5 code (no exercises)
Merge pull request #3 from kaxla/chapter5

chapter 5 code (no exercises)