macro_rules! mask { ($n:expr) => { ... }; }
Safely create a bitmask of n bits in size shifted to the right side of the number without overflowing.
n