Solution for C1_12_StringPermutation