working principle of flour mill