Realized inputted incorrect parameter at very beginning of the mergesort so fixed that up and all errors disappeared