Adjusting the network class and barabasi-albert code

Had to change the vector class to a deque, to keep the pointers the same,
so is possible to implement BA algorithm.
Removed pstatistics from the code.