Added micropather code to support A* path finding.