Python Comparing Sets Game Solver