Merge sort in progress, seg fault in getValue