Experimentally making a turing machine simulator in C for a module I'm doing at university