Fix some bugs

Now, the RBTree is correct
MyRBTree: fixup some bugs