A Bubble sort implementation in Ruby