generate numbers in the range of ( 2 ^ N ) - 1 to 2 ^ ( N - 1 ) inclusive
for i in range ( last - 1 , first - 1 , - 1 ) : NEW_LINE INDENT zero_cnt = 0 ; NEW_LINE one_cnt = 0 ; NEW_LINE t = i ; NEW_LINE num_of_bits = 0 ; NEW_LINE DEDENT