adding first attempt at mergesort