Finished bubblesort