Refactored Student.equals() to use Objects.equals() instead of manual null checks