.equals() put into the checkStudent Mehtod