added otsu segmentation method
implementation of Otsu threshold