UNDERSTANDING QUBIT SUPERPOSITION AS A FOUNDATION FOR QUANTUM ALGORITHMS