Display total swaps for bubblesort