base class

built Shape class, specified inheritance for Rectangle and Ellipse