1, half adder
2-input, 2-output
input: A, B; output out, carry;
2, full adder
3-input, 2-output
input: A, B, cin; output out, carry;