Added inheritance demo