saves student information into the students array