my attempt to resolve project euler in clojure