everything works except for merge sort...