Grid Unique Paths Leetcode Solution 9