added model methods for course and student to return arrays of names and grades