chapter 11, ex 4
Merge branch 'master' of https://github.com/rowdyrabbit/scala-for-the-impatient