merge_sort fixed.

I didn't do much, I just changed some variable names and removed a useless buffer function.
Somehow, it works now though, so I won't complain.