My notes to the book: "Scala for the impatient" by Cay Horstmann