Adding basic class inheritance example