Add the skeleton for an init function and make it so the Gate constructor adds the gate to the gates vector