add kmedoids cluster method to chapter3