Longest Increasing Path in a Matrix - Leetcode 329