Mealy Sequence Detector 1001