Update generateParenthesis.cpp