experiment code for Scala course on Coursera