Functional Programming in Scala - Exercises