semi automatic washing machine working principle