N-QueensPlace n queens on an n x n chessboard such that no two queens attack each other, and return all distinct solutions