Refactored Polygons and Added Example