Python Networkx Adjacency Matrix To Graph