Changed the input parameters to be more flexible.

I realized keeping basically the same input parameters as join()
was a little silly. It will now take any mess of nested arrays of
strings.