Examples from the book "Programming Collective Intelligence"