Generate Parentheses and Word Search