Text this: Dynamic Programming and Optimal Control