OOP inheritance sample for lessons