Interior and exterior angles in polygons