Python Class Inheritance Example Code