Program that takes names of the students of a class and stores them under an array