Added polymorphism demos to the inheritance package

Change-Id: I5c380eee99a4a32f69a1a7dea143f994b2d0aa8f