Example for inheritance in Python