A simple turing-machine implemented in scala.