added bubble sort