How are CNC G-codes used to control a cutting path?