Create turingmachine.py

Tested using PyCharm!