add splay tree implementation