K-Medoid clustering initial commit.