adding basic mergesort