add three function: 1. assign courses for group 2.course senior group 3.extend courses to other group