splitting up glibc into merge and quicksort