Solve the equivalence classes problem in 4clojure.com.