coursera scala course week 3