get_pagerank function

Get the PageRank values for all nodes