Switched to BFS (apparently faster than A* in this instance). generateNext will now generate a pass move if nothing else is possible