+Shell sort 3x+1