Updated shell sort stuff