add polygon
add moore contour extraction algorithm