add k-nearest neighbor algorithm