Tape writing implemented.
Header movement fixed.
Transitions fixed.
Removed explicit copy constructor from State.
Machine finished. Pending fixes and refactoring.
Included a bash file with three test cases.