added combinations of a string problem