A small example to introduce inheritance