Update MinCostPathUsingDynamicProgramming.java