Turing complete
Added print statement for debugging purposes