Gates do not need to be printed more than once per iteration
* print gates once before loop begins
* print gates immediately after lever is pulled