Update generateCourse.lua

`smoothSpline` works fine , with `lineCrossing` working too. took away the `headTurn` section, will be done when headland is fine.
One thing we could work on now is the fact the staring point is not on the corner but in the middle of the side.