added making next node darken to visualize work of pathfinder