Update n queens.cpp