This circuit resembles the logic of a Full Adder
A clock made of counters and a single clock, and can be used for the actual thing