pathfinding using grid | ScratchStats