First commit of code.
Changed code to work directly with passed of vertices.
Anti-clockwise polygons also supported.