merge sort ruby