fixed bug, print all process during shell sort