Quantization of Energy Part 2: Photons, Electrons, and Wave-Particle Duality