Update solveNQueens.cpp