begin implementing mergesort