You might also find this prior art interesting.
In reply to Re: Solving the Eight Queens problem by BrowserUk in thread Solving the Eight Queens problem by liverpole