added some auto play code to test how to check if a game is solvable.