Python breadth-first solver for the classic 8 Queens problem