Update generate_parenthesis.cpp