Implement hashCode and equals

I love this comment :)