[crack code] parentheses

Implement an algorithm to print all valid (e g , properly opened and closed) combi-
nations of n-pairs of parentheses