Wrote equality and inequality operators.