bubble sort homework