all kinds of sort algorithm

//This is a .cpp and .hpp file for c++ compiler
//function: sort the array using a various of sort algorithm