adding in bubblesort