CTCI CH5-E5: Number of bits needed to change one integer to another