added program to demonstrate use of classes to model solutions