Add compare functionality
Implement equals operator