Changed insert method on splay tree
fixed another merging bug