Added pathfinding (a*) and string pulling