Simplify the bubble sort algorithm back to what Jason originally had.