Adding an equal method (==) according to the spec

For a better understanding of how exactly choices are made.