Bug fixed in printing an ouput file. Option "gexf" added.