next Clojure exercise: triangles.