recur to place rest of the queens
if ( solveNQueensUtil ( board , col + 1 , slashCode , backslashCode , rowLookup , slashCodeLookup , backslashCodeLookup ) ) : NEW_LINE INDENT return True NEW_LINE DEDENT