added get edgelists method for polygons