Added equals() function in Person.java.