very small typo change third demo now compiles and runs but pathfinding code looks a bit weird.