{
if (w.length() != length)
throw new IllegalArgumentException("All wires connected to the gate must be of uniform length.");
{
if (w.length() != length)
throw new IllegalArgumentException("All wires connected to the gate must be of uniform length.");