simple c++ binary adder