Added solution to qubits problem