Modify the Pascal's Triangle, use a better method to calculate the numbers