Optimal Control of a Double Integrator. A Primer on the Maximum Principle