Finished bubble sort.