samples: calculate the PageRank for random graphs