Coursera Functional programming with scala