Not sure what to do here. Basically, I think this will not work as is. The properties of the distance function that nearest neighbors data structures need do not hold. So, if we try this with different problems, I suspect we can end up in infinite loops if we use something like GNAT. Mark can correct me if I'm wrong. The other thing is, the distance() calls that the structure