Create class_test.cpp

Test program to check the various functionality within a class . 

Inheritance , virtual function .