Code for the Functional Programming Principles in Scala MOOC by EPFL