Cnc whirling lathe