takes in multiple entries into student array