pub fn part2(input: &Grid<u8>) -> usize
Use a compressed grid where each byte stores 4 cells (2x2 block) with 2 bits per cell.