updated
Bubble Sort in Ruby