code in the book ~ collective intelligence