# 3ones2zeroes.tur: an exercice I saw in a magazine. It changes the ocurrences
#                   of 3 consecutive 1's for 0's from left to right until the
#                   end of the tape.
#
# Tape format: any sequence of 1's and 0's.
#
0 0 0 r 0
0 1 1 r 1
1 0 0 r 0
1 1 1 r 2
2 0 0 r 0
2 1 0 l 2
2 _ _ r 0
