Library of pathfinding A*