Groups in algo2