A Primer on Pontryagin’s Principle in Optimal Control: Second Edition