add rotate left/right for rb_tree