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's true that it wont break the code. But it will break IDEs like PhpStorm.