A python script to solve the general n-queens problem of placing n non-attacking queens on an n×n chessboard