Update generateCourse.lua

lane transition and smoothing