Solve grid shortest path with BFS | Disney