Update mesh.py to be awesome.

Awesome meaning that it can generate graphviz files when run like:
python mesh.py

And that it can be used with mininet.