Preferential Attachment - Graph Algorithms