Article 3 of the Penal Code defines a frustrated felony as follows: A felony is frustrated when the offender performs all the acts of execution which should produce the felony as a consequence, but which, nevertheless, do not produce it by reason of causes independent of the will of the perpetrator.