Function part1

Source
pub fn part1(input: &[[usize; 4]]) -> i32