Washing machine control using basic AND & NOT gates