working on bubble-sort