Added implementation for equality __eq__() and inequality __ne__() operators