Week 4 of Coursera Scala Course