Added operator==() and operator!=()

This resolves issue #3