add program to demonstrate abstract classes