refactoring qsort and added main method to time differences between simple & in-place qsort