bubble sort done but could have bugs