All permutation of chars, task from Interview Questions