principle of the ball mill