continued work on grid based pathfinding