Mergesort now takes in a list to sort.