Merge pull request #1 from sulphux/master

New turing machine example.
Add head character printing as an option.
Fix bug with an infinity loop.