Getting the names of the students from the user.