Start BFS from top-left corner.
Explore neighbors. Cell (1,1)=1 is blocked.
Continue expanding. Approaching goal at (2,2).