implements a hl bellman net to solve any problem that can be represented with a dynamic programming functional eq