Untested NearestNeighborAI done

Nearest neighbor done but not tested yet.