recognition of handwritten mathematical expressions by nicholas .
Dynamic Programming and Optimal Control