I am trying to solve a problem as a practice. The problem statement is:
Print all paths in a matrix in a strictly increasing order. A path is from the top-left cell t