Steiner Tree Problem solution in clojure