Exercise 6: modified 'students' array to display hobby