Function part1

Source
pub fn part1(input: &[i16; 2]) -> i16