adding kd tree code

KD Tree in java