shell sort and straight insert sort