working principle and different parts of grinding machine