shell sort and array suffle