Add array permutations solution.