Second set of bit manipulation programs