Create main.cpp

Code for Turing machine