basic pathing with edge avoidance in
backup before pathfinding array