add program to demonstrate classes and attributes