Functional Programming in Scala Exercise 2.1