bubble sort alg.