Added Inner class inherinance example.