shell_sort with 1,3,5 sorting