Added function to compare expression trees. Added some comments.