Finished shell sort.