Wire j = new Wire();
Action orGate = new OrGateAction(input1, input2, i, this);
orGate.action();
Action andGate1 = new AndGateAction(input1, input2, carry, this);
andGate1.action();
Action inverter = new InverterAction(carry, j, this);
inverter.action();
Action andGate2 = new AndGateAction(i, j, sum, this);
andGate2.action();
}