getting closer to join function for any number of any types of slices