Wrote .isEqual method for HashResult