Exercises and experiments while reading the Programming in Scala book