added Quicksort and Mergesort methods