pub fn part1(matrix: &[Vec<u32>]) -> u32
Calculate the spreadsheet’s checksum. For each row, determine the difference between the largest value and the smallest value; the checksum is the sum of all of these differences.