How to Swap bits in a number : XOR - Bit Manipulation Firmware Interview