correct equals method in Student class