changes ot Bubble Sort