Added basis for pathfinding algorithms