Added Polygon class