Implement K-Nearest Neighbors classification Algorithm