Programming Graph Theory With Python