Solved assignments for the 2014 Coursera Functional Programming Principles in Scala class