exercises of Functional Programming In Scala