Bug fix: get_path(): dijkstra algorithm implementation.