added some examples of inheritance and abstract method