Added class and testclass for calculating groupstandings