Implement hashCode and equals

Field as #62