Define polygon?
A polygon is any closed continues sequence of line segments i.e., a polyline whose last node point is similar as that of its first node point. The line segments form the sides of the polygon and their intersecting points form the vertices of the polygon.