pub fn propagate(grid: &mut Grid, x: usize, y: usize, max_recursions: usize)