Scala coursera week 1