Changed so that the simulation shuffles the nodes and calculates
the epidemic sequentially for each node instead of all at once.