Added checkbounds(Point point) to polygon.