Added polygon spec and checked centroid, sorting points, edges and contained points. Implemented my own method for checking if a point is contained from wiki spec.