Solve the tree into tables problem in 4clojure.com.