Turing Machine sample program written by Clojure