sequential nqueens