Create While in main. Fix plotContourOnImage() function.