shortest_path() in a non-working way.