Effecient Bubble Sort