fn next_same_bits(n: i32) -> i32
Find the next highest integer with the same number of one bits as the previous integer, for example 1011 => 1110.