Initialization has a lot of room for cycles optimization but I'm pretty happy with the steady state. This solution first generates the complement set of each match atom, then uses these as permanent catalysts. Three consecutive sample atoms are tested every 8 cycles, if any of these are not equal to the corresponding match pattern atom, they will wand the central stick upward. If the stick is not pushed in the 8 cycle loop that means there is a match, and the gold atom will be moved into position for later output.