Exercise 2 in chapter 8
Merge branch 'master' of https://github.com/rowdyrabbit/scala-for-the-impatient