Extend the FSM class to take in multiple input wires.
Extend the FSM class to take in multiple input wires.