Excersises from the "Function Programming in Scala" book