Splay tree implementation java