CNC machine tool course design