All inputs are "sanitized" to 1 tick
Activate the top constant combinator to set the first cell as active
Activate the bottom constant combinator to reset all cells
Use the middle constant combinator to control the system:
A yellow signal of 1 will shift all values up
A yellow signal of 2 will shift all values down
A yellow signal of 3 will output C=1 on the right most combinator of all active rows for 1 tick.
To extend the blueprint, copy the bottom 2 rows and drag the ghosts downward.