print all perm of string