Start of bubblesort