For scala course (https://class.coursera.org/progfun-003/lecture/index)