Update newBalancedBraces.cpp