Parses balanced parentheses.
