Added Cpolygon class