Override an equals method in class Person