Add the function which reduce the original graph.

Using only nodes from top communities.
Convert top communities file to 0-indexed file.