Week 6 of Coursera Scala Course