The Principle of Least Action in Quantum Mechanics