5. Given the following graph M,
source s
destination t
Write a dynamic programming algorithm to calculate shortest paths from source node s to
destination t. Show intermediate results on the data structures you use in the algorithm,
and report the weights of shortest paths calculated from this algorithm.