clojure bk-tree implementation