add RBTree prototype and ut for rotation, other function not tested yet