modify day2, finish bubble sort