Added polygon object

Polygon object for polygons, as well as methods to check if a coordinate is on a vertex, on the boundary or inside the polygon.
It is needed for line 93.