added code to create gephi file format