Update nqueen.cpp