printing added for kmedoids