8 Queens problem made with Prolog and Python pygame