added (crappy) dijkstra pathfinding