update NQueens solution