add some helper grid in pitch to calc the assistant attack position. And also a function is written to judge if a point(player) on the way (betwee two points).
optimize the algo of calcing BSP(Best Support Position)