Committing NQueenProblem