implement nearest and draw
implement range
empty KdTree
empty API for KdTree
do not add point multiple times and always find nearest