finished bubble sort, passes tests