Create Shell Sort using function pointer