IntegerMatrix Class
class function Max(matrix: TIntegerMatrix): integer;
This is Max, a member of class IntegerMatrix.