Added code to find all possible paths from (0, 0) to (m, n)