Rewrite select function using `cons' instead of `append'
Merge remote-tracking branch 'origin/sample-qsort' into develop