Clojure conversions of the algorithms from the book Programming Collective Intelligence