Added getters and setters to Polygon class.

Also added Color field.