Suffix Tree implementation in Clojure