update bubble-sort

define algoritm