Correcting the Barabasi-Albert network

Now algorithm tries to put the right amount of nodes