Bubble Sorting Visualization in Ruby