Add support for self-forming groups.

Students can now form groups by themselves.