describe the working principle of drilling machine