Refactored Polygon to a class. Both contours are now tested.