FloydWarshall Floyd Warshall transitive closure with static matrix Things to add/update Print matrix function instead of multi-for clone Check final matrix for transitive closure Dynamic matrix input