create a adjacency matrix
#might need this package #import sys #Create a adjacency matrix nx.write_adjlist(G,sys.stdout)