Issue #143: added iterator over vertices to Polygon class; simplified some methods