Base Class Pointer Derived Class Example In Python