A Mathematical Introduction to Lattice Cryptography: The Quantum Security Solution