update selection sort
update bubble sort