Rewrite "Programming Collective Intelligence" in Kawa.