Simple Inheritance Program In Python