create table tape (cur_state, scanned, write, move, next_state);