making a bubble sort