added second thresholding option
todo file
k-means initial commit