got mergesort working