finished bubble sort