about washing machine working principle