Working version of the clone of PageRank