Added class inheritance example