Work done on simple rotations of red black tree