SMS dit: Dynamic programming and modern control theory