Allow equations with parenthesis for array and double linked list