Functions to 1) Swap bits in a number. 2) Revers bits in a number.