finished the pagerankmapper and pagerankreducer class