Create generateParenthesis