Text this: Discrete-Time Inverse Optimal Control for Nonlinear Systems