Objective
Implement a flood-fill algorithm that propagates through a 2D character grid from a given starting cell, marking every reachable connected cell with the character F.
Steps
$ flood_fill(grid, (Point){6, 4}, (Point){0, 0})
replaces the entire outer border region connected to the top-left corner with `F`
$ flood_fill(grid, (Point){6, 4}, (Point){2, 1})
fills only the interior pocket reachable from column 2, row 1, leaving the rest untouched
Expected files
Allowed functions
None. Write every helper yourself.

Objective
Implement a flood-fill algorithm that propagates through a 2D character grid from a given starting cell, marking every reachable connected cell with the character F.
Steps
$ flood_fill(grid, (Point){6, 4}, (Point){0, 0})
replaces the entire outer border region connected to the top-left corner with `F`
$ flood_fill(grid, (Point){6, 4}, (Point){2, 1})
fills only the interior pocket reachable from column 2, row 1, leaving the rest untouched
Expected files
Allowed functions
None. Write every helper yourself.

Tests
Run the tests to grade your code