1010 sequence detector