implemented contour trace feature in CG.Bitmap class
(http://www.emanueleferonato.com/2013/03/01/using-marching-squares-algorithm-to-trace-the-contour-of-an-image/))