Write the working principles of a milling machine