finish up the pathfinding portion of Ch 4