Problem 3 in Clojure.
Problem 4 in Clojure.