pathfinding actually works (at least for empty grids)