Added examples of inheritance and interfaces