Djikstra's Algorithm - Animated local cache