R-Tree in Java