Extract Bits From Integer In C