update get student names method to return an array of each person's name