modify merge_sort.rb