Refactor | Beverly | change rotateRight to rotate('R')