get_materials_list function

Get list of materials for a course