Functional Programming in Scala Course Work 2013