Added vdp solved with dynamic programming