How does Quantum Key Distribution Work?