A Bit of Bit Manipulations