PHP Port of Programming Collective Intelligence, in my own style.