Topology generator example described in
Peersim tutorial 2
.