There are three transformations that may be applied to the puzzle. These transformations are used by the program to scramble the puzzle in the beginning, and then they are used by the person playing the game in order to attempt to solve the puzzle. You will implement these three transformations in this project:



Note that you must consider two cases: (1) the number of characters between i and j is even; (2) the number of characters between i and j is odd. In the latter case, the middle-most character remains in place. Note: You are not required to write your code so that multipleSwap calls swap.
The transformation multipleSwap(i, i) is allowed, but has no effect on the word. You may not assume that the first argument is smaller than the second argument.