done with line to_polygon
implement == and make polygon derive from polyline