Text this: Pontryagin’s Principle-Based Algorithms for Optimal Control Problems of Parabolic Equations