Astar working without avoidance, need to attribute code I didn't write, map close to working for avoidance