playing around with networkx