Solutions for Functional Programming Principles in Scala course on Coursera, April 2014