I have a problem which is similar to the one presented here: https://www.geeksforgeeks.org/minimum-cost-path-left-right-bottom-moves-allowed/ I have a 2D matrix, which I rea