Added a python program to assign topics to groups.