This is the python source code to solve the N-Queens problem (Assume n equals 6).
class NQueens: def __init__(self, size): # Store the puzzle (problem