Turing Machine

A Turing Machine consists of a linear tape, potentially infinite in both directions, divided into cells, with each cell containing a 1 or blank , and at most a finite number of cells not blank. There is a reading head which at time is in one of a finite set of possible states and is reading a particular cell. Depending on this state , and the cell content , and the fixed set of instructions initially supplied with the machine, the machine either (i) stops or (ii) changes to state and moves the whole tape one cell to the left or one cell to the right or puts 1 into the cell it is reading or puts into the cell it is reading.