alg:bitwise operation to implement add operation