Bit Manipulation: Creating Bitmasks