"Functional Programming in Scala" exercises