add simple_pair and modify rainbow_parentheses