final Bubble Sort algo