adds Ruby and JS  mergesort, coded in bed.

this is just to add mergesort in Ruby and ported over to Javascripts :+1: