Revert "Switch from list to deque for internal TM tape"
Revert "Switch from list to deque for internal TM tape"

This reverts commit 3194bfcd247ae9f07b2030a37f28e6bac7b2c6ac.
Deques indeed allow for efficient appendleft operations, however
item access performace is more important.

caleb531/automata