Adding different pathfinding algorithm