結果 : find transitive closure using warshall algorithm