Cnc lathe subprogram example. The subprogram must end with an M99.