Implemented legality checks for path to victory, note all moves must allow both players to win (can't block oneself in)