Added inheritance package and demos

Change-Id: I0af9f3491c2a13ac4365fb01b03d4810d6d94ad8