how to detect overflow in binary addition - Search