Week 2 of Coursera scala Course