made a for loop for future filling of tables

added a for loop that will probably work once the variables $NumStudents
and the array $studentInfo are set using mySQL
made the for a foreach