Getting started with the networkx graph library