Now calculating average mark at given students group. Commented some code.