Implementation of the N Queens problem in Python.