examples and assignments from coursera course on Functional programming in Scala