Solve problems 9,16,20,48 using Clojure.
Fix stack overflow error on Linux.