Implemented abstract tree with visitor pattern
Derived KdTree from AbstractTree
Added a more convenient way to implement visitors