I am hoping someone can help me. I am trying to implement a BFS on a 2D matrix using JavaScript.
The function has an input of a 2D matrix ("lot") that has cells