Some examples from Coursera's "Functional Programming in Scala" course