Define and use representBy instead of groupBy.
Merge branch 'master' of https://github.com/UoYCS-plasma/GP2