Added constructor without a color parameter, and a function to generate a random color.
Added Cpolygon class