cleaned up some code
added Turing class