Clojure: first version of a recursive classification function