Added NetworkGraph, to generate topologies for the experiment.
Fixed some bugs