Graph and Node for the pathfinding