All balanced bracket strings
Write balanced(n) that returns every string made of n ( and n ) that is
correctly balanced. Order of the output does not matter.
balanced(1) -> ["()"]
balanced(2) -> ["(())", "()()"]
balanced(3) -> ["((()))", "(()())", "(())()", "()(())", "()()()"]
The point is to practise pruning with two counters: add ( while some remain, add )
only while there are more ( than ) so far.
def balanced(n):
...