Game of life in javascript and clojure (learning purpose)