working of external grinding machine