Added centroid decomposition algorithm. DiGraph renamed to Graph.