Initial commit of the pagerank code - needs some tweaking