changed the output file sample, created a class for parsing the files and for pagerank computation