This basic circuit sums a bit with a 4-bit number.
It's made out of 4 half-adder circuits and outputs a carry (red) + the result of the sum (green).
The bottom switch acts as the bit to sum while the above switches represent a binary number being the top one the most significative.