BST Rotation and add parent attribute for each node