UNDERSTANDING QUBIT SUPERPOSITION AS A STRUCTURE FOR QUANTUM ALGORITHMS