$gate_type = $1; $gate_name = $2; $output_gate = $3; $input_A = $4; $input_B = $5; push @input_A, $input_A; # column 2