Passing 7 out of 9 tests, WeightedDigraph.__str__ method TypeError

 - not sure why WeightedDigraph.__str__(self) method is raising
   a type error when running print g, where g is a WeightedDigraph
   object
 - error is: 'TypeError: __str__ returned non-string (type NoneType)')]