Added both mergesort algorithms