Own rendition of mergesort sorting algorithm using Ruby.