Java implementation of splayed binary search tree