結果 : warshall algorithm example with solution