Build Array From Permutation Solution