nearest neighbor search for MNIST and adult data set. datat structures and algorithms used: brute-force nearest neighbor search and K-D trees