Overrode java.lang.Object equals method to compare the toString() output
instead of using the defined == comparison. This will allow a HashMap
with a FormulaElement key to compare keys by their string value.