I'm looking for a general way to create a bit mask using shifts and bitwise operators and to be wary of overflow from shifting left
ex. 0x80000000 would be something like (~0 >> 31) << 31, correct me if I'm wrong
More specifically 0xAAAAAAAA and 0x55555555 is what I'm struggling with