johnson_all_pairs_shortest_paths() doesn't take my graph (files)