Learn to merge_sort in ruby