path finding in Dart with A*