Added preliminary stuff so that I can then randomly generate a circuit.