dfs

Function dfs 

Source
fn dfs(grid: &mut [u8], index: usize)
Expand description

Flood fill that explores the connected squares in the grid.