Update Inheritance.md

added solution
Merge pull request #58 from superreg/patch-9

Update Inheritance.md