Contour class, findContour function and contour finding example