Pascals Triangle Leetcode Solution C