segmenting the image
starts next problem