ch01_03 string permutation