Given a string S like "a{d,c,b}f", expand it to ["adcf", "acf", "abf"]. Only simple braces without nesting.