Added equality methods to ASTs and Values.