Created SimplePolygon class and tests