Hierarchical Inheritance In Python Example Program