ex17 done
ex18 done, implemented a quick sort algorithm