completed 4-bit adder