detailed working concept of washing machine