Add algorithm for calculating transitive reduction (reverse Warshall algorithm for acyclic graphs)