RB-tree insert and remove operation