basic pathing with edge avoidance in