Created shellsort implementation