n_queens skeleton