FlatMapByKey
Implemented the last part to run the PageRank
Fixed few bugs related to pagerank implementation