A simple contour finding implementation based on the opencv tutorial