left rotation and right rotation

rotation shoud change the sucessor too.

basically there's three scenarios should be considered

1. x.parent with y

2. y.parent with x.parent

3. x.left with y.right or x.right with y.left