Equality functions. Fixed bugs for car and cdr.