Add bare files for lab4 state machines.
Rework moore pattern matching circuit.