updating prep work, now with merge sort finished