editing bubble sort