Added utilty to decompose directed hypergraph into its graph representation + corresponding tests.