Auto clean and copy files when building
Improve implementation of quick_sort