also explain how the code works Create a function named swapTwo that swaps the first pair of characters with the second pair of characters for every quadruplet substring, then returns the transformed String. Header: String swapTwo( String phrase) \{ // Type code here \} Example Input/Output: - Input: "ABCDEFGH" Output: "CDABGHEF" - Input: "AABBCCDDEEFF" Output: "BBAADDCCFFEE" - Input: "munchkins" Output: "ncmuinhks" - Input: "FFGGHHI" Output: "GGFFHHI" Notes: - Keep leftover substrings in the same order. You will receive Starter Code for this assignment, but you will not receive Tester Code. You are free to create your own tester code, though..