Added random and scale-free network generation