Bit manipulation functions shift bits left and right