Create KDTREE.java

KDTREE(java version)