join n-number of slices of any type