Updated add_groups.cpp

The code works now! I was contemplating a delete_groups.cpp, but now I realize that all I have to do to delete groups would be to go into the ALL.txt document and find them and remove them myself. But that's only one line of code, and I only remove groups once they're deactivated anyway - which doesn't happen all that often.