Python Class Inheritance With Parameters