Update after working scalefree

This one is updated with the graph as the input.
Spreading processes works perfect.