Permutation of String for a given size K