Triangulation method for polygon, but not working properly; operator overloading for PolygonVertex