Create leftRightRotate function
 Done test for function leftRight rotate