C++ implementation of hubs and authorities (HITS) and PageRank algorithms