Check If a Board game is Solvable