ShellSort simple algorithm