J. Dzikiewicz: Algorithmus 26 An algorithm for finding the transitive closure of a digraph. Computing 15(1): 75-79 (1975)