I have been working on developing a merge sort algorithm. One of the things I need to figure out is how many swaps are occurring during the algorithm. My code is as follows: