Playing with graphs in Python.