Implemented Deutschs algorithm (for 2 qubits), now working on generalisation to Deutschs-Jozsa algorithm