add nearest neighbor visualizer for debugging
inefficient algorithm for nearest but finds nearest
better implementation of nearest
don't range when empty