initial attempt at triangle in clojure