Added programs which illustrate inheritance