Create generateParenthesis.cpp

depth first search can be used to solve this problem.