dynamically allocate stack of quicksort

stack_size = (log2(length/INSERTION_SORT_SIZE )) * 4;
Improve module import

from xxx import yyy
import xxx.yyy
and import files under current path