Classwork for Coursera's Functional Programming Principles in Scala