Update Inheritance.md

- Removed uses of abstract, to avoid confusion.
- Added an example program to help illustrate the advantages of using
inheritance
- Added comments to help explain the code better
- Corrected bad code formatting