ShellSort with multi-threads