Shell sort implementnet with h = h*3+1
Tabs to spaces