completed bubble sort in Exercise_10