Adding inheritance code sample