added the create_reduced_graph file