R7RS Scheme program for running turing machines