Minimum Path Sum In Grid Leetcode Solutions In C