K Nearest Neighbor Algorithm Example R