Use A* to make sure the level is beatable