Bubble sort fixed and working