Add abstract shape class as superclass to polygon.