solve a 10x10 integer matrix - return largest value between sum of all columns and sum of all rows