CNOT3_02 function

3 qubit CNOT gate (control-0,target-2)