Number controlled cutting machine