My solutions to Functional Programming in Scala Book