assignment due 8/4, 1NN. Comments are in the file.

because you are passing in factors, distance returns NA here, so you end up with a list of NA