implemented A* and some path smoothing for path-finding within a sector