Start from each cell matching the first character. Use DFS/backtracking to explore all four directions.
Mark current cell as visited (or change its value).
Check if we've matched the entire word.
Recurse in all four directions for the next character.
Backtrack: restore the cell's original value.