# looper.tm
# example input: 0001111___

A 0 A 0 right
A 1 A 1 left
A _ B _ right
