working bubble_sort