Added converter from networkx to metis graph format