modified app for pathfinding demo