Scala samples based on the book Programming Collective Intelligence