added NQueenProblem