Completed exportList function in assignmentMap