all_couple_rotations_at_k function

Rotate tree branches for k