Corrected quicksorted and started implementation of mergesort(bugged)