Synchronous 010 or 1001 Sequence Detector with J-K Flip Flops