Calculates the arithmetic average of the given list of numbers.
static num mean(List<num> l) => l.reduce((num p, num n) => p + n) / l.length;