This method of the ArraySort Class swaps two elements in the array.
protected void swap(int p, int q);
swap(int,int) in Sort