Floyd Warshall algorithm, also find path, good