Updated rightRotate() and added its test codes