Nearest Neighbor Algorithm

Class assignment.