modify gml2jie.py to handle multigraphs