some simple modifications : file reading writing in mygraph and simrank