Program for polygonal approximation of image containing multiple polygons with edges single-pixel wide, obeying DSS properties

Contains bugs: Works on single polygons only, and has more bugs besides.