added solution to problem 10 in clojure