Method and arrangement for generating an NC work program for a numerical machine tool control of a machine tool