Graph Theory in Python