Implemented the PageRank

Results are written to file