pub fn part2(input: &str) -> String
Since a black or white pixel covers those in lower layers, it’s faster to check each pixel stopping as soon as we hit a non-transparent value.