Made bubblesort