Citi Interview Question

override the equals method