Added example of inheritance and polymorphism