Pascals Triangle Leetcode Solution