fixed a bug
bubblesort in progress