Added comments for pathfinding and priority queue.