Functional Programming in Scala (coursera course examples)