Bit maipulation code examples