first version of visual quicksort
added mergesort. TODO: mergesort.c and quicksort.c