and i will leave it for you to if you want, rework the previous pseudo codes so that when you fill in a new entry, you fill in not just the value of an optimal solution given solution to the previous sub-problems but infact also the solution itself.