Create inheritance.rb

Inheritance, override and superide methods