Scala coursera's course solutions