PageRankSequential code