Move graph_import function into network_gen.py file.

@wronk -- moved graph_import function into network_gen.py file