completing balanced parens