K mean clustering algorithm with solve example