Update generateCourse.lua

added the fact that fields may have no corner on their edge .