String Permutation hard challenge solved