added simple inheritance example