Getinge Interview Question

Implement two classes, rectangle and square, from a base class Shape.