Here is a flow chart of the algorithm: Read Input from Circuit Compare Input Value to Fixed Value Wait for Cell to Leave Trapping area Is Input Value Less than Fixed Value? No Yes Release Cell Trap Cell 29