Updated equal to check for empty and beginning parens first.
Updated EQUAL test for array.
Better recursive processing.