1. Create a class Square derived from DrawableShape, as described in the previous
exercise. A Square object should know the length of its sides. The
class should have an accessor method and a mutator method for this length.
It should also have methods for computing the area and perimeter of the
square. Although characters are taller than they are wide—so the number of
characters in the vertical sides will differ from the number in the horizontal
sides—you need not worry about this detail when drawing the square.
2. Create a class SchoolKid that is the base class for children at a school. It
should have attributes for the child’s name and age, the name of the child’s
teacher, and a greeting. It should have appropriate accessor and mutator
methods for each of the attributes.