working and principle of ball mill machine