Implement Clojure solutions and tests for chapter 1, question 1