Saving student names to a text file with user input