fix lcs
add kmeans
fix misc
kmedoids sample code