permute n arrays