Why Is Dynamic Programming Called