A C implementation of Barabasi-Albert model.