update N_Queens_II to match code in N_Queens