The Barabasi generator should return a directed graph
and not an undirected graph. As new vertices are added
they will point *to* (and not *from*) existing
vertices. This is the "rich get richer" idea.
I have made changes to create a directed graph and have
attached the revised source file.